package data.nanjing.expo.models.domain.exhibition;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 展区信息
 *
 * @author ChanJi
 * @create 2018-05-23 22:26
 * exhibition_area
 **/
public class ExhibitionArea  {
    private Integer id;
    /**
     * 展区名称
     * area_name
     */
    private Integer areaId;

    /**
     * 展馆id
     * hall_id
     */
    private Integer hallId;
    /**
     * 展会id
     */
    private Integer expoId;

    /**
     * 作为筛选条件是否被选择
     */
    private boolean select;
    /**
     * 展区链接
     */
    private String url;
    /**
     * 创建时间
     * gmt_create
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    /**
     * 上次更新时间
     * gmt_modified
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date  updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public Integer getExpoId() {
        return expoId;
    }

    public void setExpoId(Integer expoId) {
        this.expoId = expoId;
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ExhibitionArea{" +
                "id=" + id +
                ", areaName='" + areaId + '\'' +
                ", hallId=" + hallId +
                ", expoId=" + expoId +
                ", select=" + select +
                ", url='" + url + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
